max-min algorithm

join shbcf.ru